package com.itheima.upload;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author 12441
 * @Date 2022/8/12 9:50
 * @Version 1.0
 */
@Data
@Component
@ConfigurationProperties(prefix ="aliyun.oss")
public class OssProperties {
    private String endpoint;
    private String keyId;
    private String keySecret;
    private String bucketName;
}
